package com.ztgf.commodity.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/*
 * 卖家端商品导出VO
 * */
@Data
public class GoodsExportVO implements Serializable {

    @ApiModelProperty(value = "商品编号")
    private String productNumber = "暂无信息";

    @ApiModelProperty(value = "商品名称")
    private String productName = "暂无信息";

    @ApiModelProperty(value = "sku名称")
    private String skuName = "暂无信息";

    @ApiModelProperty(value = "价格")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal price;

    @ApiModelProperty(value = "库存")
    private Integer inventory = 0;
}
